


// 简介
.about{
    width: 100%;
    text-align: center;
    padding: 60px 0;
    background-color: #f3f3f3;
    .title{
        font-size: 45px;
    }
    p{
        color: #666;
        font-size: 19px;
        line-height: 50px;
    }
    .list{
        justify-content: center;
        display: flex;
        padding: 20px 0;
        div{
            padding: 20px 50px;
            h1{
                font-size: 70px;
                color: var(--mainColor);
            }
            p{
                font-size: 40px;
            }
        }
    }
}

// 开设舞种
.types-dance{
    padding: 40px 0;
    .center{
        .title{
            font-size: 40px;
            text-align: center;
            padding-bottom: 20px;
        }
        .list{
            display: flex;
            flex-wrap: wrap;
            &>div{
                width: calc(25% - 20px);
                margin: 10px;
                cursor: pointer;
                img{
                    width: 100%;
                }
                .text{
                    display: flex;
                    font-size: 20px;
                    align-items: center;
                    div{
                        background-color: var(--mainColor);
                        color: #fff;
                        padding: 4px 10px;
                        margin-right: 10px;
                        border-radius: 10px;
                    }
                }
            }
        }
    }
}

// 荣誉资质
.honor{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #f3f3f3;
    .center{
        .title{
            font-size: 40px;
            text-align: center;
            padding: 20px 0;
        }
        .list{
            display: flex;
            &>div{
                width: calc(33% - 20px);
                margin: 10px;
                img{
                    width: 100%;
                }
                p{
                    font-size: 20px;
                    color: #666;
                    padding: 10px 0;
                }
            }
        }
    }
}

// 品牌优势
.advantage{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    padding-bottom: 70px;
    background-color: #fff;
    .center{
        .title{
            font-size: 40px;
            text-align: center;
            padding: 20px 0;
            margin-bottom: 10px;
        }
        .index-flex{
            display: flex;
            .list{
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                margin-right: 20px;
                background-color: #f3f3f3;
                padding: 30px 60px;
                box-sizing: border-box;
                border-radius: 10px;
                div{
                    font-size: 20px;
                    color: #666;
                    width: 50%;
                    box-sizing: border-box;
                    height: 56px;
                    line-height: 56px;
                    border-bottom: 1px solid #999;
                    text-align: left;
                    padding-left: 20px;
                    span{
                        color: var(--mainColor);
                        font-weight: 900;
                        font-style: italic;
                        padding-right: 10px;
                    }
                }
                div:nth-child(odd){
                    border-right: 1px solid #999;
                    border-bottom: 1px solid #999;
                }
                div:nth-child(9){
                    border: 0;
                    border-right: 1px solid #999;
                }
                div:nth-child(10){
                    border: 0;
                }
            }
        }
    }
}

// 教学成果
.teach{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #f3f3f3;
    .center{
        .title{
            font-size: 40px;
            text-align: center;
            padding: 20px 0;
        }
        .swiper {
            width: 100%;
            height: 720px;
            padding-bottom: 90px;
            overflow: hidden;
            .swiper-pagination{
                position: relative;
                padding: 20px 0;
                .swiper-pagination-bullet {
                    background-color: #fff;
                    padding: 4px 0px;
                    margin: 5px;
                    border: 1px solid #999;
                    opacity: 1;
                    height: 30px;
                    line-height: 30px;
                    cursor: pointer;
                    border-radius: 15px;
                    width: 80px;
                    position: relative;
                }
              
                .swiper-pagination-bullet-active {
                    color: #fff;
                    border: 1px solid var(--mainColor);
                    background: var(--mainColor);
                    &::after{
                        content: '';
                        position: absolute;
                        border: 10px solid transparent;
                        border-top-color: var(--mainColor);
                        left: 50%;
                        top: 100%;
                        transform: translate(-50%, 0);
                    }
                }
            }
            .swiper-wrapper{
                width: 100%;
                height: 100%;
            }
            .swiper-slide {
                display: flex;
                flex-wrap: wrap;
                &>div{
                    --color1 : var(--mainColor);
                    --color2 : #fff;
                    --color3 : #eee;
                    width: calc(33% - 20px);
                    margin: 10px;
                    background-color: var(--color2);
                    height: 340px;
                    cursor: pointer;
                    overflow: hidden;
                    border-radius: 20px;
                    &:hover{
                        --color1 : var(--mainColor);
                        --color2 : var(--mainColor);
                        --color3 : #fff;
                        color: #fff;
                    }
                    img{
                        width: 100%;
                        height: calc(100% - 50px);
                    }
                    .text{
                        display: flex;
                        align-items: center;
                        height: 50px;
                        div{
                            margin: 0 20px;
                            background-color: var(--color3);
                            color: var(--color1);
                            padding: 5px 10px;
                            border-radius: 5px;
                        }
                    }
                }
            }
        }
    }
}

// 新闻资讯
.over{
    margin: 50px 0;
    margin-bottom: 200px;
    .center{
        display: flex;
        .title{
            font-size: 23px;
            color: var(--mainColor);
            padding-bottom: 10px;
            border-bottom: 1px solid var(--mainColor);
            font-weight: 900;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .more{
                font-size: 16px;
                color: #888;
                font-weight: 500;
                cursor: pointer;
            }
        }
        .news{
            width: 780px;
            margin-right: 20px;
            .news-flex{
                display: flex;
                &>div{
                    width: 50%;
                    img{
                        width: 100%;
                    }
                    box-sizing: border-box;
                }
                .list{
                    --mainColor : #113131;
                    padding-left: 20px;
                }
                h3{
                    font-size: 21px;
                    color: var(--mainColor);
                    padding: 5px 0;
                }
            }
        }
        .tips{
            width: 400px;
        }
        .list{
            div{
                padding-bottom: 20px;
            }
            h4{
                color: var(--mainColor);
                padding-bottom: 10px;
                font-size: 18px;
            }
            p{
                color: #888;
            }
        }
    }
}